package com.ticket.entity;

import java.sql.Time;

/**
 * @author 全谢民
 * @version 8.0
 * @description: TODO 订单实体类
 * @date 2023/10/313:21
 */
public class Order {
    private int ordersId;   //订单编号
    private int userId;//用户编号
    private String orderNumber;//订单号
    private double ordersPrice;//订单总金额
    private int ordersStatus;//状态：1：已支付，2：已取消，3：待支付，4：待取票
    private Time ordersTime;//订单时间
    private int movieId;//电影编号
    private int cinemaId;//影院编号
    private int seatId;//座位编号
    private int ordersDeletedState;   //1.未删除，2.已删除，删除后不可恢复
    public int getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(int ordersId) {
        this.ordersId = ordersId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public double getOrdersPrice() {
        return ordersPrice;
    }

    public void setOrdersPrice(double ordersPrice) {
        this.ordersPrice = ordersPrice;
    }

    public int getOrdersStatus() {
        return ordersStatus;
    }

    public void setOrdersStatus(int ordersStatus) {
        this.ordersStatus = ordersStatus;
    }

    public Time getOrdersTime() {
        return ordersTime;
    }

    public void setOrdersTime(Time ordersTime) {
        this.ordersTime = ordersTime;
    }

    public int getMovieId() {
        return movieId;
    }

    public void setMovieId(int movieId) {
        this.movieId = movieId;
    }

    public int getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(int cinemaId) {
        this.cinemaId = cinemaId;
    }

    public int getSeatId() {
        return seatId;
    }

    public void setSeatId(int seatId) {
        this.seatId = seatId;
    }

    public int getOrdersDeletedState() {
        return ordersDeletedState;
    }

    public void setOrdersDeletedState(int ordersDeletedState) {
        this.ordersDeletedState = ordersDeletedState;
    }
}

